package com.fanghuaiming.seata.item;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/****
 * @description: 商品微服务启动类
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午2:19
 *
 */
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "com.fanghuaiming.seata.item")
@MapperScan(value = {"com.fanghuaiming.seata.item.dao.mapper"})
@EnableFeignClients
public class SeataItemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeataItemApplication.class,args);
    }

}
